package com.cloudkinto.service.order.vo.amazon.amazonorder;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2020/4/19
 */
@XmlType(propOrder = { "amazonOrderID", "fulfillmentDate", "fulfillmentData","CODCollectionMethod","item"})
@XmlAccessorType(XmlAccessType.PROPERTY)
public class OrderFulfillment {
    private String AmazonOrderID;
    private String FulfillmentDate;
    private FulfillmentData FulfillmentData;
    private String CODCollectionMethod;
    private List<Item> Item;
    @XmlElement(name = "AmazonOrderID")
    public String getAmazonOrderID() {
        return AmazonOrderID;
    }

    public void setAmazonOrderID(String amazonOrderID) {
        AmazonOrderID = amazonOrderID;
    }

    @XmlElement(name = "CODCollectionMethod")
    public String getCODCollectionMethod() {
        return CODCollectionMethod;
    }

    public void setCODCollectionMethod(String CODCollectionMethod) {
        this.CODCollectionMethod = CODCollectionMethod;
    }
    @XmlElement(name = "FulfillmentDate")
    public String getFulfillmentDate() {
        return FulfillmentDate;
    }

    public void setFulfillmentDate(String fulfillmentDate) {
        FulfillmentDate = fulfillmentDate;
    }
    @XmlElement(name = "FulfillmentData")
    public OrderFulfillment.FulfillmentData getFulfillmentData() {
        return FulfillmentData;
    }

    public void setFulfillmentData(OrderFulfillment.FulfillmentData fulfillmentData) {
        FulfillmentData = fulfillmentData;
    }
    @XmlElement(name = "Item")
    public List<OrderFulfillment.Item> getItem() {
        return Item;
    }

    public void setItem(List<OrderFulfillment.Item> item) {
        Item = item;
    }

    @XmlRootElement(name = "FulfillmentData")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class FulfillmentData {
        @XmlElement(name = "CarrierName")
        private String CarrierName;
        @XmlElement(name = "CarrierCode")
        private String CarrierCode;
        @XmlElement(name = "ShippingMethod")
        private String ShippingMethod;
        @XmlElement(name = "ShipperTrackingNumber")
        private String ShipperTrackingNumber;

        public String getCarrierName() {
            return CarrierName;
        }

        public void setCarrierName(String carrierName) {
            CarrierName = carrierName;
        }

        public String getCarrierCode() {
            return CarrierCode;
        }

        public void setCarrierCode(String carrierCode) {
            CarrierCode = carrierCode;
        }

        public String getShippingMethod() {
            return ShippingMethod;
        }

        public void setShippingMethod(String shippingMethod) {
            ShippingMethod = shippingMethod;
        }

        public String getShipperTrackingNumber() {
            return ShipperTrackingNumber;
        }

        public void setShipperTrackingNumber(String shipperTrackingNumber) {
            ShipperTrackingNumber = shipperTrackingNumber;
        }
    }
    @XmlRootElement(name = "Item")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Item {
        @XmlElement(name = "AmazonOrderItemCode")
        private String AmazonOrderItemCode;
        @XmlElement(name = "MerchantFulfillmentItemID")
        private String MerchantFulfillmentItemID;
        @XmlElement(name = "Quantity")
        private String Quantity;

        public String getAmazonOrderItemCode() {
            return AmazonOrderItemCode;
        }

        public void setAmazonOrderItemCode(String amazonOrderItemCode) {
            AmazonOrderItemCode = amazonOrderItemCode;
        }

        public String getMerchantFulfillmentItemID() {
            return MerchantFulfillmentItemID;
        }

        public void setMerchantFulfillmentItemID(String merchantFulfillmentItemID) {
            MerchantFulfillmentItemID = merchantFulfillmentItemID;
        }

        public String getQuantity() {
            return Quantity;
        }

        public void setQuantity(String quantity) {
            Quantity = quantity;
        }
    }
}
